package com.xcf.center.client;

import com.xcf.center.ZookeeperRegisterConfig;

import java.util.Set;

public class ServerConfig {

    private ZookeeperRegisterConfig registerConfig = new ZookeeperRegisterConfig();

    /**
     * 服务A的命名空间就是A-->a1,a2...
     * 服务B            B -->b1,b2...
     */
    private Set<String> nameSpaces;

    public Set<String> getNameSpaces() {
        return nameSpaces;
    }

    public void setNameSpaces(Set<String> nameSpaces) {
        this.nameSpaces = nameSpaces;
    }

    public ZookeeperRegisterConfig getRegisterConfig() {
        return registerConfig;
    }

    public void setRegisterConfig(ZookeeperRegisterConfig registerConfig) {
        this.registerConfig = registerConfig;
    }
}
